home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSINESS
/
MAST.LZH
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1988-12-08
|
2KB
|
70 lines
echo off
rem The MULTI ASSISTANT files are INSTALL.BAT and MAST.ARC, and MAST.DOC
rem INSTALL.BAT is the installation program.
rem MAST.ARC contains the programs, and is in packed format.
rem PKXARC.COM will unpack MAST.ARC
cls
if .%1 == .a goto ckdupa
if .%1 == .A goto ckdupa
if .%1 == .b goto ckdupb
if .%1 == .B goto ckdupb
goto help
:ckdupa
if .%2 == .a goto help
if .%2 == .A goto help
goto ckdest
:ckdupb
if .%2 == .b goto help
if .%2 == .B goto help
:ckdest
if .%2 == .a goto instalf
if .%2 == .A goto instalf
if .%2 == .b goto instalf
if .%2 == .B goto instalf
if .%2 == .c goto instalh
if .%2 == .C goto instalh
if .%2 == .d goto instalh
if .%2 == .D goto instalh
if .%2 == .e goto instalh
if .%2 == .E goto instalh
if .%2 == .f goto instalh
if .%2 == .F goto instalh
if .%2 == .g goto instalh
if .%2 == .G goto instalh
if .%2 == .h goto instalh
if .%2 == .H goto instalh
goto help
:instalh
echo Please install a write protect tab on your source disk.
pause
%2:
CD \
MD MAST
CD MAST
echo Unpack the files from %1:MAST.ARC to %2:\MAST
%1:PKXARC -E %1:MAST %2:\MAST
echo *
echo now just type MAST and enjoy
echo *
goto end
:instalf
echo Please install a write protect tab on your source disk.
pause
%2:
echo Unpack the files from %1:MAST.ARC to %2:
%1:PKXARC -E %1:MAST %2: MAST*.*
echo *
echo you now have a sub-directory called %2:\MAST
echo *
echo now just type MAST and enjoy
echo *
goto end
:help
cls
echo *
echo To install MULTI ASSISTANT from floppy A: to hard disk C:
echo INSTALL A C
echo To install MULTI ASSISTANT from floppy A: to floppy B:
echo INSTALL A B
:end